<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<title>login</title>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
	<style type="text/css">
	<!--
	body {
	}
	#apDiv1 {
		position:absolute;
		width:269px;
		height:58px;
		z-index:1;
		left: 64px;
		top: 373px;
	}
	#apDiv2 {
		position:absolute;
		width:266px;
		height:64px;
		z-index:2;
		left: 65px;
		top: 447px;
	}
	#apDiv3 {
		position:absolute;
		width:200px;
		height:115px;
		z-index:3;
		left: 285px;
		top: 0px;
	}
	-->
</style></head>

<body background="./jsp/prof/images/title.jpg">

<div id="apDiv1">
	<s:form action="login" >
		<s:textfield name="username" label="username" />
		<s:password name="password"  label="password" />
		<s:submit value="confirm" />
		<s:reset  value="reset" />
		<s:property value="exception.message" />
	</s:form>
</div>
</body>
</html>    